/** person info */
interface User {
    name: string
}

type PointX = {
    x: number
}

//type 并集 interface
type Point = PointX & User

const tesss: Point = {
    name: 'kaho',
    x: 1
}